Skip to content

Conversation

@ViniTou
Copy link
Contributor

@ViniTou ViniTou commented Sep 10, 2025

🎫 Issue IBX-10370

Related PRs:

Description:

I decided to not use those two function inside base adminUI template to not progate this extension point in 4.6 as we may decide to move into table objects at some point.
It also is very tricky do to it in base, when table body is used else where, as there is no access to data row object anymore at admin-ui level.

For QA:

Documentation:

@sonarqubecloud
Copy link

@ViniTou ViniTou requested a review from a team September 10, 2025 07:53
@ezrobot ezrobot requested review from Steveb-p, adamwojs, alongosz, barw4, ciastektk, konradoboza, mikadamczyk, tbialcz and wiewiurdp and removed request for a team September 10, 2025 07:53

namespace Ibexa\AdminUi\Tab\Event;

class CollectCustomTableColumnsEvent
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Good practice is that event classes extends \Symfony\Contracts\EventDispatcher\Event
  2. Is it intentionally open for inheritance ?

use Twig\Extension\AbstractExtension;
use Twig\TwigFunction;

final class TableExtension extends AbstractExtension
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test coverage is missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants